package com.nbsaas.boot.common.data.entity;

import com.nbsaas.boot.code.annotation.FormAnnotation;
import com.nbsaas.boot.jpa.data.entity.AbstractEntity;
import lombok.Data;
import org.hibernate.annotations.Comment;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


@FormAnnotation(title = "ip访问", menu = "1,2,68")
@Data
@Entity
@Table(name = "sys_visit_ip_channel")
public class IpVisitChannel extends AbstractEntity {

    @Comment("统计标识")
    private String dataKey;

    @Comment("网络id")
    private String ip;

    @Comment("访问次数")
    private Long num;

    @Comment("渠道")
    @Column(length = 50)
    private String channel;


}
